<#import "spring.ftl" as spring />

<html>
  <head>
    <title><@spring.message code="login.title"/></title>    
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Login Page | Mandy Lane - Premium Admin Template</title>
	<link rel="stylesheet" media="screen" href='<@spring.url relativeUrl="/public/css/style.css"/>' />
	<!--[if IE 9]>
	    <link rel="stylesheet" media="screen" href='<@spring.url relativeUrl="/public/css/ie9.css"/>'/>
	<![endif]-->
	
	<!--[if IE 8]>
	    <link rel="stylesheet" media="screen" href='<@spring.url relativeUrl="/public/css/ie8.css"/>'/>
	<![endif]-->
	
	<!--[if IE 7]>
	    <link rel="stylesheet" media="screen" href='<@spring.url relativeUrl="/public/css/ie7.css"/>'/>
	<![endif]-->
	<script type="text/javascript" src='<@spring.url relativeUrl="/public/js/plugins/jquery-1.7.min.js"/>'></script>
	

  </head>
  
  <body>

	<div class="loginlogo">
		<img src='<@spring.url relativeUrl="/public/images/logo.png"/>' alt="Logo" />
	</div><!--loginlogo-->

	<#if RequestParameters['error']??>	
		<div class="notification notifyError loginNotify">Invalid username or password. (Type anything)<br/> </div>
		<script type="text/javascript">
			jQuery('.loginNotify').slideDown('fast');
		</script>
	</#if>	
	
	<form id="loginform" action="<@spring.url relativeUrl="/j_spring_security_check"/>" method="post">
	<div class="loginbox">
		<div class="loginbox_inner">
	    	<div class="loginbox_content">
	
	            <input type="text" name="j_username" class="username" />
	            <input type="password" name="j_password" class="password" />
	            <button name="submit" class="submit">Login</button>
	        </div><!--loginbox_content-->
	    </div><!--loginbox_inner-->
	</div><!--loginbox-->
	
	<div class="loginoption">
		<a href="" class="cant"><@spring.message code="login.forgotpassword"/></a>
	
	    <input type="checkbox" name="remember" /> <@spring.message code="login.rememberme"/>.
	</div><!--loginoption-->
	</form>

  </body>
</html>
